import { View, Render, Dimensions, Text, EAlignType, Button } from 'lvgljs-ui';
import React, { useState } from 'react';

const { width, height } = Dimensions.window

function App () {

    return (
        <View style={style.window}>
            <View style={style.view}>
                <Text>Hello</Text>
            </View>
        </View>
    )
};

const style = {
    window: {
        width,
        height
    },
    view: {
        'border-radius': '5px',
        'width': '150px',
        'height': 'auto',
        'padding': '20px 20px 20px 5px',
        'left': '50%',
        'top': '80px'
    }
};

Render.render(<App />);